import {BeanPostProcessor} from "./ioc";
import { Component } from "./ioc";

@Component()
class DefaultBeanPostProcessor extends BeanPostProcessor {
  postProcessBeforeInitialization(bean: Object, beanName: string): Object {
    console.log("BeanPostProcessor postProcessBeforeInitialization");
    return bean;
  }
  postProcessAfterInitialization(bean: Object, beanName: string): Object {
    console.log("BeanPostProcessor postProcessAfterInitialization");
    return bean;
  }
}

export default DefaultBeanPostProcessor;
